package org.example.pingpong.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "用户VO实体")
public class UserVO {

    @ApiModelProperty("JWT令牌")
    private String JWT;

    @ApiModelProperty("权限")
    private Integer power;

    public UserVO() {
    }

    public UserVO(String jwt, Integer power) {
        this.JWT = jwt;
        this.power = power;
    }
}
